package com.csp.dp.lod;

/**
 * 团队领导
 *
 * @author Strive
 * @date 2024/1/31 10:58
 */
public class TeamLeader implements Manager {

    private Programmer programmer;

    public void setProgrammer(Programmer programmer) {
        this.programmer = programmer;
    }

    public void assignTasks() {
        System.out.println("团队领导给研发分配任务");

        this.programmer.work();
    }
}
